Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a FileNotFound err with tmpDir in immediate tasks #6292

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

git-hyagi
Copy link
Contributor

When an immediate task is ran the api worker switches directory to a tmp directory inside the working directory. After the task is finished the tmp directory is deleted, but the api worker still thinks it is in the tmp directory thus causing future cwd to fail. This commit changes the pulpcore code to chdir back after finishing the task.

When an immediate task is ran the api worker switches directory
to a tmp directory inside the working directory. After the task is
finished the tmp directory is deleted, but the api worker still
thinks it is in the tmp directory thus causing future cwd to fail.
This commit changes the pulpcore code to chdir back after finishing
the task.
@ggainey ggainey merged commit 1dbb7d4 into pulp:main Feb 20, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants